package pattern13.basketball;

/**
 * 后卫
 * @author wdl
 */
public class Guards extends BasePlayer {
    public Guards(String name) {
        super(name);
    }

    @Override
    public void attach() {
        System.out.println("后卫"+name+"进攻");
    }

    @Override
    public void defence() {
        System.out.println("后卫"+name+"防御");
    }
}
